import sys
sys.path.append('..')

from models import db, Subcategory
for i in range(2,32):
    db.session.add(Subcategory(name='其他',color='FFFFFF',categoryid=i))
    db.session.commit()
    print(f'Add {i} Successfully!')


